<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Hour</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">Hour()</font></b></p>
<p><b>语法</b></p><blockquote>

Result = <font color="#3A3966"><b>Hour</b></font>(Date)</blockquote>

</blockquote>
<b>概要</b><br><blockquote>

返回指定日期的小时数. 

</blockquote><p><b>参数</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>Date</i></td>
<td width="90%"> 
需要被提取时间的日期. 

</td></tr>
</table>
</blockquote><p><b>返回值</b></p><blockquote>

返回日期的小时数. 结果总是在 0 到 23 之间. 

</blockquote><p><b>示例</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <b><font color="#3A3966">Debug</font></b> <font color="#3A3966">Hour</font>(<font color="#3A3966">Date</font>(1970, 1, 1, 11, 3, 45))  <font color="#3A3966">; 输出 '11' 点.</font>
</font></pre>

</blockquote><p><b>参阅</b></p><blockquote>

<a href="formatdate.html">FormatDate()</a>, 
<a href="year.html">Year()</a>, <a href="month.html">Month()</a>, <a href="day.html">Day()</a>, <a href="minute.html">Minute()</a>, <a href="second.html">Second()</a> 

</Blockquote><p><b>已支持操作系统 </b><Blockquote>所有</Blockquote></p><center>&lt;- <a href=formatdate.html>FormatDate()</a> - <a href="index.html">Date Index</a> - <a href="minute.html">Minute()</a> -&gt;<br><br>

</body></html>